package io.terminus.paas.profiler.utils

import java.util.regex.Pattern

/**
 * Created by gengrong on 16/3/24.
 */
object ProfilerConstants {

    val PAMPAS_TAGS = "pampas.tags"

    val PERMISSION_ALLOW_NAME = "||pampas.allow.permission"

    val PERMISSION_DENIAL_NAME = "||pampas.denial.permission"

    var ROUTE_PATTERN = Pattern.compile("([&!=,]*)\\s*([^&!=,\\s]+)")

    val CONDITION_SEPERATOR = Pattern.compile("(.*)=>(.*)")

    val CONSUMER_APPLICATION="consumer.application";

}